#! /bin/bash


if [ $# -ne 1 ];
then
    echo "Usage: $0 num"
    exit 4
fi

for i in $(seq 1 $1);
do
    if [ $i -lt 10 ]; then
        xl create /etc/xen/u0$i.cfg
    else
        xl create /etc/xen/u$i.cfg
    fi
done
